package com.scorpio.scbasics.rediostation.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scorpio.common.annotation.Excel;
import com.scorpio.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 biz_sys_msg_config
 *
 * @author scorpio
 * @date 2020-10-14
 */
@Data
@TableName("biz_sys_msg_config")
public class BizSysMsgConfigDTO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long user_id;

    /**
     * 私聊消息通知
     */
    @Excel(name = "私聊消息通知")
    private Long chat;

    /**
     * 报名提醒
     */
    @Excel(name = "报名提醒")
    private Long enroll;

    /**
     * 点赞提醒
     */
    @Excel(name = "点赞提醒")
    private Long follow;

    /**
     * 评论提醒
     */
    @Excel(name = "评论提醒")
    private Long comment;

    /**
     * 广播提醒
     */
    @Excel(name = "广播提醒")
    private Long broadcast;

    /**
     * 用户通过了我的查看请求
     */
    @Excel(name = "用户通过了我的查看请求")
    private Long apply_view;

    /**
     * 邀请码
     */
    @Excel(name = "邀请码")
    private Long invitecode;

    /**
     * 声音
     */
    @Excel(name = "声音")
    private Long sound;

    /**
     * 震动
     */
    @Excel(name = "震动")
    private Long shock;

    /**
     * $column.columnComment
     */
    private Date create_time;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("user_id", getUser_id())
                .append("chat", getChat())
                .append("enroll", getEnroll())
                .append("follow", getFollow())
                .append("comment", getComment())
                .append("broadcast", getBroadcast())
                .append("apply_view", getApply_view())
                .append("invitecode", getInvitecode())
                .append("sound", getSound())
                .append("shock", getShock())
                .append("create_time", getCreate_time())
                .toString();
    }
}
